package com.youme.section.login.sms

import androidx.lifecycle.ViewModelProvider
import com.alibaba.android.arouter.facade.annotation.Route
import com.salton123.ui.base.YoumeBaseActivity
import com.hyphenate.easeim.R
import com.youme.Constants
import com.youme.viewmodel.YouMeApiViewModel

/**
 * @Time:2021/3/25 21:49
 * @Author:wujinsheng
 * @Description:
 */
@Route(path = Constants.Router.YOUME.SMS_LOGIN)
class YouMeSmsLoginActivity : YoumeBaseActivity() {
    private lateinit var mViewModel: YouMeApiViewModel
    override fun getLayoutId(): Int = R.layout.salton_fm_container

    override fun initViewAndData() {
        mViewModel = ViewModelProvider(this).get(YouMeApiViewModel::class.java)
        loadRootFragment(R.id.fl_container, YouMeSmsLoginStepOneFragment(mViewModel))
    }
}